package com.lhn;

import java.time.Instant;
import java.time.LocalDateTime;

/**
 * @author lhn
 * @date 2024-08-23 14:59
 */

public class TimeThings {
    public static void main(String[] args) {
        Instant now = Instant.now();
        System.out.println(now);
        System.out.println("=============");
        LocalDateTime localDateTime = LocalDateTime.now();
        System.out.println(localDateTime);
    }
}
